/**
 * @Author：ming
 * @Date：2023/10/6 3:14 AM
 * @Filename：Lc452
 */

import java.util.Arrays;
import java.util.Comparator;

/**
 * @author ming
 */
public class Lc452 {
    public int findMinArrowShots(int[][] points) {
        Arrays.sort(points, new Comparator<int[]>() {
            @Override
            public int compare(int[] o1, int[] o2) {
                return (o1[1]-o1[0])-(o2[1]-o2[0]);
            }
        });
        int count =1;
        int[] a= points[0];
        for (int i = 1; i < points.length; i++) {

        }
        return 0;
    }
}
